cmake_minimum_required(VERSION 2.8)

project(NccTracker)

# add eigen moduel
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/module/")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

find_package(OpenCV REQUIRED)
find_package(Eigen REQUIRED)

include_directories(
    ${OpenCV_INCLUDE_DIRS}
    ${Eigen_INCLUDE_DIRS}
    ${PROJECT_SOURCE_DIR}/include
)

add_executable(NccTracker
	src/main.cpp
	src/NccTracker.cpp
)

target_link_libraries(NccTracker
	${OpenCV_LIBRARIES}
)
